import { request } from '@boeyo/portal';

//告警列表
export const getHealthConfigList = async (params) => {
  return request({
    url: 'healthEstimate/list',
    method: 'GET',
    params,
  });
};
//震动健康评估测点阈值配置
export const updateHealthConfigList = async (data) => {
  return request({
    url: 'healthEstimate/updateConfig',
    method: 'PUT',
    data,
  });
};
// 评估配置趋势图
/**
 * 趋势图
 */
export const getTrendChartData = (params) => {
  return request({
    url: '/healthEstimate/trendChart',
    method: 'GET',
    params,
  });
};
